package com.list.zuoye;

public class Teacher {
    private String name;
    private String zhuanye;

    public Teacher() {
    }

    public Teacher(String name, String zhuanye) {
        this.name = name;
        this.zhuanye = zhuanye;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getZhuanye() {
        return zhuanye;
    }

    public void setZhuanye(String zhuanye) {
        this.zhuanye = zhuanye;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "name='" + name + '\'' +
                ", zhuanye='" + zhuanye + '\'' +
                '}';
    }
}
